module.exports = {
    // 路由配置
    router: {
        // 根路径
        // base:'/s',

        // 自定义路由
        extendRoutes(routes, resolve) {
            // routes：路由表，resolve：解析路由路径
            // /about1 也指向 about.vue
            routes.push({
                name: 'about1',
                path: '/about1',
                component: resolve(__dirname, 'pages/about.vue')
            })
        }
    }
}